//
//  HHFileMessageCellData.h
//  HHChatKit
//
//  Created by Henry on 2021/6/3.
//

#import "HHBubbleMessageCellData.h"

NS_ASSUME_NONNULL_BEGIN

@interface HHFileMessageCellData : HHBubbleMessageCellData

@property (nonatomic, strong) NSString *fileName;
@property (nonatomic, strong) NSString *type;
@property (nonatomic, strong) NSString *path;
@property (nonatomic, strong) NSString *url;
@property (nonatomic, assign) int length;

@property (nonatomic, copy) NSString *flagName;
@property (nonatomic, strong) UIImage *flagImage;

@property (nonatomic, strong) UIFont *fileNameFont;
@property (nonatomic, strong) UIColor *fileNameColor;

@property (nonatomic, strong) UIFont *lengthFont;
@property (nonatomic, strong) UIColor *lengthColor;

@property (nonatomic, strong) UIFont *flagFont;
@property (nonatomic, strong) UIColor *flagColor;

@property (nonatomic, strong) UIColor *lineColor;


@property (nonatomic, assign) NSUInteger uploadProgress;

@property (nonatomic, assign) NSUInteger downladProgress;

@property (nonatomic, assign) BOOL isDownloading;

- (void)downloadFile;

- (BOOL)isLocalExist;

- (NSString *)getFilePath:(BOOL *)isExist;

@end

NS_ASSUME_NONNULL_END
